package com.xx.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

@Configuration  //定义  这是spring的配置文件
@ComponentScan({"com.xx.dao", "com.xx.service"}) //定义扫描包
@PropertySource(value = {"order.properties"},encoding = "utf-8")//读取properties文件信息
//@Import(OrderConfig.class)
public class SpringConfig {
}
